home *** CD-ROM | disk | FTP | other *** search
- Path: otto.inf.fu-berlin.DE!not-for-mail
- From: scholz@otto.inf.fu-berlin.de (Enno Scholz)
- Newsgroups: comp.lang.c++
- Subject: Experiences calling C++ from C?
- Followup-To: comp.lang.c++
- Date: 06 Apr 1996 23:28:49 GMT
- Organization: Freie Universitaet Berlin
- Distribution: world
- Message-ID: <SCHOLZ.96Apr7012849@otto.inf.fu-berlin.de>
- NNTP-Posting-Host: otto.inf.fu-berlin.de (160.45.110.55)
- X-Access: 16 17 19
-
- Hello,
-
- I would greatly appreciate any help with calling C++ functions
- from C!
-
- I have read the FAQ, I know that one must declare the C++
- functions with "extern C++" and I'm passing nothing but void pointers
- (no structs), but still my program crashes in the first C++ function:
- The gdb stack shows a number of invocations of some unknown-to-me
- function _end (), followed by a segmentation fault in a constructor
- function I never call.
-
- Any help will be most welcome!
-
- Enno
-